package com.letao.server.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("spu_media")
public class SpuMedia {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    private Long spuId;
    private Integer mediaType;
    private String mediaUrl;
    private Integer isDefault;
}
